package com.whc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whc.entity.Message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 韦红材
 * @ClassName MessageMapper
 * @data 2024/12/10 16:58
 * @Version V1.0
 **/
@Mapper
public interface MessageMapper extends BaseMapper<Message> {
    //查询两个用户间的聊天记录
    List<Message> getAll(long senderId,long accepterId);
    //查询未读消息数

}
